<?php

	 $ettere = 0;
	 $toere = 0;
     $treere = 0;
     $firere = 0;
     $femmere = 0;
     $seksere = 0;
	 
	for ($kast = 0; $kast < 99; $kast++) {

                         $terning = rand(1,6);
                         if ($terning == 1) {
							 $ettere++;

                         } else 
                         if ($terning == 2) {

                                     $toere++;

                         } else
                         if ($terning == 3) {

                                     $treere++;

                         } else
                         if ($terning == 4) {

                                     $firere++;
                         } else
                         if ($terning == 5) {

                                     $femmere++;
                         } else
                         if ($terning == 6) {

                                     $seksere++;
						 }
	}
	?>
	<TABLE BORDER="1">

            <TR>

            <TH>1</TH>

        <TD><?php echo $ettere?></TD>

    </TR>

            <TR>

            <TH>2</TH>

        <TD><?php echo $toere?></TD>

    </TR>

            <TR>

            <TH>3</TH>

        <TD><?php echo $treere?></TD>

    </TR>

            <TR>

            <TH>4</TH>

        <TD><?php echo $firere?></TD>

    </TR>

            <TR>

            <TH>5</TH>

        <TD><?php echo $femmere?></TD>

    </TR>

            <TR>

            <TH>6</TH>

        <TD><?php echo $seksere?></TD>

    </TR>

 

    

    

</TABLE>
